package team.you.ticket.service;

import team.you.ticket.pojo.Result;
import team.you.ticket.pojo.TrainNum;

import javax.servlet.http.HttpServletRequest;

public interface TicketService {
    Result add(TrainNum trainNum, String type, String remarks, HttpServletRequest request);
    //流加载 信息查看
    Result get(Integer page, HttpServletRequest request);
    //获取总页数
    Result getPages();
    //退票：修改车票状态
    Result del(String ticketId);
}
